<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Music Player</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            margin: 0;
            padding: 0;
            background: #f4f4f4;
            display: flex;
            flex-direction: column;
            height: 100vh;
        }
        header, footer {
            background: #fff;
            padding: 10px 20px;
            text-align: center;
        }
        footer {
            margin-top: auto;
        }
        ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        li {
            background: #fff;
            border-bottom: 1px solid #ccc;
            padding: 10px 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        li:last-child {
            border-bottom: none;
        }
        a {
            color: blue;
            text-decoration: none;
        }
        a:hover {
            text-decoration: underline;
        }
        .pagination {
            padding: 10px 20px;
            text-align: center;
        }
        .pagination a {
            padding: 5px 10px;
            margin: 0 5px;
            background: #ddd;
            color: black;
        }
        .pagination a:hover {
            background: #ccc;
        }
        .search-bar {
            display: flex;
            justify-content: center;
            padding: 20px;
        }
        .search-bar input[type="text"] {
            padding: 10px;
            width: 300px;
            margin-right: 10px;
        }
        .search-bar button {
            padding: 10px 20px;
        }
        audio {
            width: 100%;
        }
    </style>
</head>
<body>
    <header>
        <h1>Music Search</h1>
    </header>
    <div class="search-bar">
        <form action="/search" method="get">
            <input type="text" name="query" placeholder="Enter artist, song, or album" required>
            <button type="submit">Search</button>
        </form>
    </div>
    <ul>
        <!-- 动态填充这部分 -->
    </ul>
    <footer>
        <audio controls>
            <source src="your-audio-file.mp3" type="audio/mpeg">
            Your browser does not support the audio element.
        </audio>
    </footer>
</body>
</html>
